<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="layout">

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <link rel="shortcut icon" href="favicon.ico">
  <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
  <link href="css/plugins/iCheck/custom.css" rel="stylesheet">
  <link href="css/animate.css" rel="stylesheet">
  <link href="css/style.css?v=4.1.0" rel="stylesheet">
  <script src=""></script>
  <title>修改品牌</title>
</head>
<body>
<div class="ibox-title">
  <div class="ibox-tools">
    <a class="collapse-link">
      <i class="fa fa-chevron-up"></i>
    </a>
    <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
      <i class="fa fa-wrench"></i>
    </a>
    <ul class="dropdown-menu dropdown-user">
      <li><a href="table_basic.html#">选项1</a>
      </li>
      <li><a href="table_basic.html#">选项2</a>
      </li>
    </ul>
    <a class="close-link">
      <i class="fa fa-times"></i>
    </a>
  </div>

  <div class="col-sm-6">
    <div class="ibox float-e-margins">
      <div class="ibox-title">
        <h5>修改品牌</h5>
        <div class="ibox-tools">
          <a class="collapse-link">
            <i class="fa fa-chevron-up"></i>
          </a>
          <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
            <i class="fa fa-wrench"></i>
          </a>
          <ul class="dropdown-menu dropdown-user">
            <li><a href="form_basic.html#">选项1</a>
            </li>
            <li><a href="form_basic.html#">选项2</a>
            </li>
          </ul>
          <a class="close-link">
            <i class="fa fa-times"></i>
          </a>
        </div>
      </div>
      <div class="ibox-content">
        <form class="form-horizontal m-t" id="brandForm" novalidate="novalidate" action="/updateBrand" method="get">
          <input type="hidden" name="brand_id" th:value="${brand.brand_id}">

          <div class="form-group">
            <label class="col-sm-3 control-label">品牌名称：</label>
            <div class="col-sm-8">
              <input id="brand_name" name="brand_name" th:value="${brand.brand_name}" minlength="2" type="text" class="form-control" required="" aria-required="true">
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-3 control-label">品牌描述：</label>
            <div class="col-sm-8">
              <textarea id="brand_desc" name="brand_desc" th:text="${brand.brand_desc}" class="form-control" required=""></textarea>
            </div>
          </div>

          <div class="form-group">
            <div class="col-sm-4 col-sm-offset-3">
              <button class="btn btn-primary" type="submit">提交</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
</body>
</html>